/*
 * @Author: sunzhijun 
 * @Date: 2019-05-07 20:42:57 
 * @Last Modified by: sunzhijun
 * @Last Modified time: 2019-08-23 16:53:27
 */
import React from 'react';
import './index.less';
export default function cardPagination(props){
    const {main, cardPagination, action} = props;
    const {createCardPagination} = cardPagination;
    return (
        <span className="pagination-card" style={{display: main.isCardPaginationVisible ? '' : 'none'}}>
            {createCardPagination({ 
                handlePageInfoChange: action.headerAct.handlePageChange
            })} 
        </span> 
    )
}